package Mapper

import (
	"github.com/gin-gonic/gin"
	"hr-system/Controller"
)

func OtherInformationGroup(r *gin.Engine) {
	OtherInformationRoutes := r.Group("/otherInformation")
	otherInformationController := Controller.NewOtherInformationController()
	OtherInformationRoutes.POST("/show", otherInformationController.PageList)// 展示&查询岗位
	OtherInformationRoutes.POST("/add", otherInformationController.Create)// 创建岗位
	OtherInformationRoutes.POST("/update", otherInformationController.Update)// 更新
	OtherInformationRoutes.POST("/delete", otherInformationController.Delete)// 删除
}
